package pl.enigmatic.literal;

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;


public final class collection {

	private collection() {}

	public static <T> List<T> List(final T... elems) {
		return Arrays.asList(elems);
	}

	public static <T> T[] Array(final T... elems) {
		return elems;
	}

	public static <T> Set<T> Set(final T... elems) {
		return new HashSet<T>(List(elems));
	}

}
